package com.ruoyi.common.constant;

/**
 * 线程池常量类
 */
public class ThreadConstant {
    public static final int CORE_POOL_SIZE = Runtime.getRuntime().availableProcessors();
    public static final int MAX_POOL_SIZE = CORE_POOL_SIZE * 2;
    public static final int KEEP_ALIVE_TIME = 60;
    public static final int QUEUE_CAPACITY = 1000;
}
